//
//  LeftTableViewCell.m
//  Linkage
//
//  Created by LeeJay on 16/8/22.
//  Copyright © 2016年 LeeJay. All rights reserved.
//  代码下载地址https://github.com/leejayID/Linkage

#import "LeftTableViewCell.h"
#import "Header.h"
#import "Global1.h"
#define defaultColor rgba(253, 212, 49, 1)

@interface LeftTableViewCell ()

@property (nonatomic, strong) UIView *yellowView;

@end

@implementation LeftTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
    {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        
        CGFloat viewSize = (SCREEN_WIDTH/3-54);
        self.typeNameBtn = [[UIButton alloc] initWithFrame:CGRectMake(27,((SCREEN_HEIGHT-64-80)/4 - viewSize)*0.5,viewSize,viewSize)];
        [self.typeNameBtn.layer setCornerRadius:25];
        [self.typeNameBtn.layer setMasksToBounds:YES];
        self.typeNameBtn.titleLabel.numberOfLines = 2;
        self.typeNameBtn.titleLabel.font = [UIFont systemFontOfSize:13.0];
        [self.contentView addSubview:self.typeNameBtn];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
//    self.contentView.backgroundColor = selected ? [UIColor whiteColor]:[UIColor clearColor];
}



@end
